//
//  Soundplayer.h
//  CoolTennisBall
//
//  Created by Coollang on 16/12/21.
//  Copyright © 2016年 CoolLang. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface SpeedSoundplayer : NSObject

+ (instancetype)shareSpeedSoundplayer;

- (void)soundTheSpeed:(NSUInteger)speed;

// 控制全局的声音开关
@property (nonatomic, assign) BOOL shouldSound;

// 开启后台语音
@property (nonatomic, assign) BOOL allowsBackgroundMusic;

@end
